package org.jeecg.modules.inspect.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 备份数据表
 * @Author: jeecg-boot
 * @Date:   2024-09-07
 * @Version: V1.0
 */
@Data
@TableName("ins_delete_backup")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ins_delete_backup对象", description="备份数据表")
public class InsDeleteBackup implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键ID*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID")
    private java.lang.String id;
    /**备份名称*/
    @Excel(name = "备份名称", width = 15)
    @ApiModelProperty(value = "备份名称")
    private java.lang.String backupName;
    /**备份类型*/
    @Excel(name = "备份类型", width = 15)
    @Dict(dicCode = "backup_sql_type")
    @ApiModelProperty(value = "备份类型")
    private java.lang.String backupType;
    /**备份文件url*/
    @Excel(name = "备份文件url", width = 15)
    @ApiModelProperty(value = "备份文件url")
    private java.lang.String backupUrl;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
    /**修改人*/
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
    /**修改时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
}
